import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import Antd from 'ant-design-vue'
import {myMixin} from './utils/mixin.js'

Vue.config.productionTip = false
Vue.use(Antd)
Vue.mixin(myMixin)
Vue.prototype.$bus = new Vue()
let docWidth = document.documentElement.clientWidth
document.documentElement.style.fontSize = docWidth / 1920 * 100 + 'px'
document.body.style.fontSize = '0.14rem'
const appVue = new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')

export default appVue